package com.ysx.admin.job;

import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

@Component
public class JobTest {

    @XxlJob(value = "test")
    public ReturnT<String> handlerTest(String param) {
        System.out.println("5秒执行一次");
        return ReturnT.SUCCESS;
    }
}

